package com.ruoyi.user.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 加盟意向对象 t_user_join
 * 
 * @author DEREK
 * @date 2024-01-23
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_join")
public class UserJoin
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 是否处理 0=否 1=是 */
    @Excel(name = "是否处理 0=否 1=是")
    private Integer status;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extend;

    private String remark;
    private Date createTime;
    private Date updateTime;
    
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("phone", getPhone())
            .append("wechat", getWechat())
            .append("content", getContent())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("extend", getExtend())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
